package com.cdxy.model.dto.base.log4j;

import ch.qos.logback.classic.PatternLayout;
import ch.qos.logback.classic.encoder.PatternLayoutEncoder;

/**
 * @Author: tangy
 * @Date: 2020/2/23 23:37
 */
public class LogBackExEncoder extends PatternLayoutEncoder {
    public LogBackExEncoder() {
    }

    static {
        PatternLayout.defaultConverterMap.put("T", ThreadNumConverter.class.getName());
        PatternLayout.defaultConverterMap.put("tid", LogbackPatternConverter.class.getName());
    }
}